import i18n from '@/lang'
// special: true
export const statisticsVersionTbColumns = [
  {
    title: i18n.t('partNumber'),
    scopedSlots: { customRender: 'partNumber' },
    special: true,
    width: '9%'
  },
  {
    title: i18n.t('partName'),
    scopedSlots: { customRender: 'partName' },
    special: true,
    width: '9%'
  },
  {
    title: i18n.t('softDid'),
    dataIndex: 'softwareDid',
    scopedSlots: { customRender: 'softwareDid' },
    width: '8%'
  },
  {
    title: i18n.t('versionName'),
    dataIndex: 'name',
    scopedSlots: { customRender: 'versionName' },
    width: '6%'
  },
  {
    title: i18n.t('diagnosis') + 'ID',
    dataIndex: 'diagnosisID',
    scopedSlots: { customRender: 'diagnosisID' },
    width: '7%'
  },
  {
    title: i18n.t('wholePackage'),
    width: '5%',
    scopedSlots: { customRender: 'wholePackage' },
    special: true
  },
  {
    title: i18n.t('minDependencyVersion'),
    dataIndex: 'minVersionName',
    scopedSlots: { customRender: 'minVersionName' },
    width: '7%'
  },
  {
    title: i18n.t('differentialNum'),
    width: '8%',
    scopedSlots: { customRender: 'differentialNum' }
  },
  {
    title: i18n.t('versionValidity'),
    scopedSlots: { customRender: 'versionValidity' },
    width: '6%'
  },
  {
    title: i18n.t('retriesNumber'),
    dataIndex: 'retryCount',
    width: '5%',
    scopedSlots: { customRender: 'retryCount' }
  },
  {
    title: i18n.t('blackList'),
    dataIndex: 'blackList',
    width: '5%',
    scopedSlots: { customRender: 'blackList' }
  },
  {
    title: i18n.t('timeOfCreation'),
    dataIndex: 'createTime',
    scopedSlots: { customRender: 'createTime' },
    width: '10%'
  },
  {
    title: i18n.t('creator'),
    dataIndex: 'createBy',
    width: '8%',
    scopedSlots: { customRender: 'creator' }
  }
]
